package com.java1412.device.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备追加属性对象 ims_device
 * 
 * @author ruoyi
 * @date 2023-11-20
 */
public class ImsDevice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 设备id */
    @Excel(name = "设备id")
    private Long deviceId;

    /** 设备类型id */
    @Excel(name = "设备类型id")
    private Long deviceTypeId;

    /** 追加属性和其值 */
    @Excel(name = "追加属性和其值")
    private String appendTheAttributeAndValue;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDeviceId(Long deviceId) 
    {
        this.deviceId = deviceId;
    }

    public Long getDeviceId() 
    {
        return deviceId;
    }
    public void setDeviceTypeId(Long deviceTypeId) 
    {
        this.deviceTypeId = deviceTypeId;
    }

    public Long getDeviceTypeId() 
    {
        return deviceTypeId;
    }
    public void setAppendTheAttributeAndValue(String appendTheAttributeAndValue) 
    {
        this.appendTheAttributeAndValue = appendTheAttributeAndValue;
    }

    public String getAppendTheAttributeAndValue() 
    {
        return appendTheAttributeAndValue;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deviceId", getDeviceId())
            .append("deviceTypeId", getDeviceTypeId())
            .append("appendTheAttributeAndValue", getAppendTheAttributeAndValue())
            .toString();
    }
}
